const mongoose = require('./db');

const User = new mongoose.Schema({
    user : String,
    password: String,
    name:String,
})

const List = new mongoose.Schema({
    name : String,
})

const UserModel = mongoose.model('User', User,'User');
const ListModel = mongoose.model('List', List,'List');

module.exports = {
    UserModel,
    ListModel
}